﻿
@{
    ViewBag.Title = "AddGoodsHtml";
}


<link href="~/HelpContent/Css/AddGoodsHtml.css" rel="stylesheet" />
<link href="~/HelpContent/FormKuang/text.css" rel="stylesheet" />
<script src="~/HelpContent/FormKuang/text.js"></script>

<div class="Body">
    <div class="Content">
        <div class="Nav_Bread">
            <span>控制台</span> <span>/</span> <a href="/Goods/GoodsInfo">商品控制台</a> <span>/</span> <span>添加商品</span>
        </div>
        <div class="Form">
            <div class="left">
                <div class="Input-Control">
                    <div class="input-text"><p>商品名称</p></div>
                    <input type="text" required placeholder="请输入商品名称" autocomplete="off" name="name" value="" />
                </div>
                <div class="textarea-Control">
                    <div class="textarea-text"><p>商品详情</p></div>
                    <textarea required placeholder="请输入商品详情"></textarea>
                </div>
                <div class="Input-Control">
                    <div class="input-text"><p>商品价格</p></div>
                    <input type="text" required placeholder="请输入商品价格 单位（人民币）" autocomplete="off" name="name" value="" />
                </div>
                <div class="Input-Control">
                    <div class="input-text"><p>商品库存</p></div>
                    <input type="number" required placeholder="请输入商品库存 单位 （个）" autocomplete="off" name="name" value="" />
                </div>
                <div class="Input-Control">
                    <div class="input-text"><p>商品类型</p></div>
                    <div id="GoodsType" style="width:80%;" class="Select-Control"></div>
                </div>
                <div class="Input-Control">
                    <div class="input-text"><p>商品标签</p></div>
                    <div id="GoodsLabel" style="width:80%;" class="Select-Control"></div>
                </div>
                <div class="Input-Control">
                    <div class="input-text"><p>商品有无口味</p></div>
                    <div id="IsFlavorType" style="width:80%;" class="Select-Control"></div>
                </div>
                <div id="FlavorTypes" style="height: 0px; overflow: hidden;" class="Input-Control">
                    <div class="input-text"><p>商品口味</p></div>
                    <div id="FlavorType" style="width:80%;" class="Select-Control"></div>
                </div>
                <div class="Input-Control">
                    <button onclick="AddGood()">保存提交</button>
                </div>
            </div>
            <div class="right">

                <div class="flavortitle">
                    口味类型的口味种类
                </div>
                <div class="flavorBox">
              
                </div>
                <input type="file" id="imgFile" style="display:none;" name="name" value="" />
                <div class="GoodsImg">
                    <div class="img">
                        你还没有上传图片
                    </div>
                    <div onclick="fileUpLoad()" class="UpLoadBox">
                        <i class="fas fa-upload"></i>
                    </div>
                </div>
                <div class="ImgSrc">
                    <div class="font">图片路径：</div>
                    <div class="Src"></div>
                </div>

            </div>
        </div>
    </div>
</div>

<script src="~/HelpContent/JavaScript/AddGoodsHtml.js"></script>


